CanvasChanged
TheCanvasChanged
method should transfer asynchronous imaging to a new canvas.
void CanvasChanged (in ODFacet facet);
facet
- A reference to a facet with the new canvas.
DISCUSSION
OpenDoc calls this method if an offscreen canvas is assigned to, changed, or removed from your part's facet while your part is running. Your part must prepare to draw on the new canvas, update the cached information, and alter asynchronous display information.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Adding and Removing Canvases" on page 133 in OpenDoc Programmer's Guide.
"Setting Up" on page 157 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help